home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / objects / r3polymid.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.5 KB  |  65 lines

  1.  
  2. // JavaScript wrapper for r3polymid.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_POLYMID_H = 1;
  7. include("oops/r3vector.js")
  8. include("real/objects/r3polygon.js")
  9.  
  10.  
  11. var R3CLID_POLYMID = 1658;
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. R3POLYMIDA_Apex = 1658500;
  20. function SetR3POLYMIDA_Apex(value) {
  21.   R3Set(this.r3obj, R3POLYMIDA_Apex, value, R3TID_VECTOR, 0); 
  22. }
  23.  
  24. function GetR3POLYMIDA_Apex() {
  25.   return R3Get(this.r3obj, R3POLYMIDA_Apex, R3TID_VECTOR, 0); 
  26. }
  27.  
  28. R3POLYMIDA_Infinite = 1658501;
  29. function SetR3POLYMIDA_Infinite(value) {
  30.   R3Set(this.r3obj, R3POLYMIDA_Infinite, value, R3TID_INTEGER, 0); 
  31. }
  32.  
  33. function GetR3POLYMIDA_Infinite() {
  34.   return R3Get(this.r3obj, R3POLYMIDA_Infinite, R3TID_INTEGER, 0); 
  35. }
  36.  
  37. R3POLYMIDA_NoFloor = 1658502;
  38. function SetR3POLYMIDA_NoFloor(value) {
  39.   R3Set(this.r3obj, R3POLYMIDA_NoFloor, value, R3TID_INTEGER, 0); 
  40. }
  41.  
  42. function GetR3POLYMIDA_NoFloor() {
  43.   return R3Get(this.r3obj, R3POLYMIDA_NoFloor, R3TID_INTEGER, 0); 
  44. }
  45.  
  46.  
  47.  
  48. function r3Polymid () { 
  49.    this.base = r3God;
  50.    if(arguments.length) {
  51.       this.base(R3CLID_POLYMID, arguments);
  52.    }
  53.    // Methods
  54.  
  55.    // Attributes
  56.    this.GetApex=GetR3POLYMIDA_Apex;
  57.    this.SetApex=SetR3POLYMIDA_Apex;
  58.    this.GetInfinite=GetR3POLYMIDA_Infinite;
  59.    this.SetInfinite=SetR3POLYMIDA_Infinite;
  60.    this.GetNoFloor=GetR3POLYMIDA_NoFloor;
  61.    this.SetNoFloor=SetR3POLYMIDA_NoFloor;
  62. }
  63.  
  64. r3Polymid.prototype=new r3Polygon;
  65. // r3polymid.h_H